package it.uniba.di.mas.jpnde.core;

import jade.util.leap.Serializable;

public class TaggedValue 
	implements Serializable,Cloneable
	{
    
	static final long serialVersionUID=1;

    private String name=null;
    protected Object value=null;

    public TaggedValue() {
    }
    
    public TaggedValue(String name, Object value) {
        this.name=name;
        this.value=value;
    }
  
    public String getName(){
        return name;
        }
        
    public void setName(String name){
        this.name=name;
        }
        
    public Object getValue(){
        return value;
        }
        
    public void setValue(Object value){
        this.value=value;
        }
        
    public String toString(){
        return "TaggedValue ["+name+";"+value.toString()+"]";
        }  
}
